Learn R Programming

parsec (version 1.2.7)

levels.incidence and levels.cover: Levels of a poset

Description

The methods return a vector associating each profile with the corresponding level. The behaviour of these methods for objects of classes incidence and cover is different from the behaviour of function levels for factors.

Usage

# S3 method for incidence
levels(x)
# S3 method for cover
levels(x)

Arguments

x

an object of class cover or incidence.

See Also

the function levels for objects of type factor

Examples

Run this code
vl <- c(3, 2, 4)
prof <- var2prof(varlen = vl)
Z <- getzeta(prof)

levels(Z)

Run the code above in your browser using DataLab